<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>jQuery UI Datepicker - Default functionality</title>
	
	<link type="text/css" href="./css/ui.all.css" rel="stylesheet" />
	<script type="text/javascript" src="../jquery.js"></script>
	<script type="text/javascript" src="./js/ui.core.js"></script>
	<script type="text/javascript" src="./js/ui.datepicker.js"></script>
	<link type="text/css" href="./css/demos.css" rel="stylesheet" />
	<script type="text/javascript">
	$(function() {
		$("#datepicker").datepicker({
			
				changeMonth: true,
				changeYear: true,
				dateFormat:'yy-mm-dd HH:mm:ss',
				//buttonImage: 'images/calendar.gif',
				//buttonImageOnly: true,
				//showOn: 'both',
				showButtonPanel:true // must 
		
		});
	});
	</script>
</head>
<body>

<div class="demo">

<p>Date: <input type="text" id="datepicker"></p>

</div><!-- End demo -->

<div class="demo-description">

<p>The datepicker is tied to a standard form input field.  Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay.  Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.</p>

</div><!-- End demo-description -->

</body>
</html>
